﻿using System;

class IntDoubleOrString
{
    static void Main()
    {
        Console.Write("Please enter an integer number, a double number or a string: ");
        string consoleInput = Console.ReadLine();
        int number=0;
        double floating=0;
        int input = 3;
        if (int.TryParse(consoleInput, out number))
        {
            input = 1;
        }
        else if (double.TryParse(consoleInput, out floating))
        {
            input = 2;
        }
        else
        {
            input = 3;
        }

        switch (input)
        {
            case 1:
                    number++;
                    Console.WriteLine(number);
                    break;
            case 2: floating++;
                    Console.WriteLine(floating);
                    break;
            case 3: Console.WriteLine(consoleInput + "*");
                    break;
                
        }
    }
}

